package org.jypj.dev.model;

import com.google.gson.Gson;

import java.util.ArrayList;
import java.util.List;

/**
 * @author chenyu
 */
public class Shoes implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    private String id; //主键ID
    private String num; //鞋子编号
    private String name; //鞋子名称
    private String belongSex; //男款或者女款
    private String color; //颜色
    private String colorEn; //颜色英文
    private String style; //款式
    private String styleEn; //款式英文
    private String material; //材质
    private String materialEn; //材质英文
    private String shoeBelow; //鞋底
    private String shoeBelowEn; //
    private String sizeRange; //可选尺寸
    private int price; //价格
    private String description; //鞋子说明
    private String taoBaoHref; //淘宝链接
    private String coverImg; //鞋子封面
    private String status; //上架1，下架0
    private String createTime; //创建时间
    private String modifyTime; //修改时间

    private int sortOrder;//排序字段

    private List<String> shoesImgs;//保存时使用

    private List<ShoesImg> shoesImgList = new ArrayList<>();//鞋子图片

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBelongSex() {
        return belongSex;
    }

    public void setBelongSex(String belongSex) {
        this.belongSex = belongSex;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getColorEn() {
        return colorEn;
    }

    public void setColorEn(String colorEn) {
        this.colorEn = colorEn;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public String getStyleEn() {
        return styleEn;
    }

    public void setStyleEn(String styleEn) {
        this.styleEn = styleEn;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    public String getMaterialEn() {
        return materialEn;
    }

    public void setMaterialEn(String materialEn) {
        this.materialEn = materialEn;
    }

    public String getShoeBelow() {
        return shoeBelow;
    }

    public void setShoeBelow(String shoeBelow) {
        this.shoeBelow = shoeBelow;
    }

    public String getShoeBelowEn() {
        return shoeBelowEn;
    }

    public void setShoeBelowEn(String shoeBelowEn) {
        this.shoeBelowEn = shoeBelowEn;
    }

    public String getSizeRange() {
        return sizeRange;
    }

    public void setSizeRange(String sizeRange) {
        this.sizeRange = sizeRange;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getTaoBaoHref() {
        return taoBaoHref;
    }

    public void setTaoBaoHref(String taoBaoHref) {
        this.taoBaoHref = taoBaoHref;
    }

    public String getCoverImg() {
        return coverImg;
    }

    public void setCoverImg(String coverImg) {
        this.coverImg = coverImg;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }

    public int getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(int sortOrder) {
        this.sortOrder = sortOrder;
    }

    public List<String> getShoesImgs() {
        return shoesImgs;
    }

    public void setShoesImgs(List<String> shoesImgs) {
        this.shoesImgs = shoesImgs;
    }

    public List<ShoesImg> getShoesImgList() {
        return shoesImgList;
    }

    public void setShoesImgList(List<ShoesImg> shoesImgList) {
        this.shoesImgList = shoesImgList;
    }

    @Override
    public String toString() {

        return new Gson().toJson(this);
    }

}